home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / tex / texdr179.lzh / texdraw / epic / man-fig3.tex < prev    next >
Text File  |  1991-02-06  |  5KB  |  66 lines

  1. %Following commands were used to produce the graph on the next page.            
  2.                                                                                 
  3. \newcommand{\plotcharms}{\makebox(0,0){$\otimes$}}                              
  4. \newcommand{\plotcharscs}{\circle{1.5}}                                         
  5. \newcommand{\plotcharcs}{\makebox(0,0){$\diamond$}}                             
  6. \begin{figure}                                                                  
  7. \begin{center}                                                                  
  8. \begin{picture}(140,160)(-130,-10)                                              
  9. \linethickness{0.4mm}                                                           
  10. \put(-130,0){\vector(1,0){140}}                                                 
  11. \put(-130,0){\vector(0,1){150}}                                                 
  12. \thicklines                                                                     
  13. \multiput(0,-1)(-10,0){14}{\line(0,1){2}}                                       
  14. \multiput(-131,0)(0,10){15}{\line(1,0){2}}                                      
  15. \multiputlist(0,-4)(-20,0){0,50,100,150,200,250,300} %numbers along X-axis      
  16. \multiputlist(-132,20)(0,20)[r]{10,20,30,40,50,60,70} %numbers along Y-axis     
  17. \put(-60,-10){\makebox(0,0){Interarrival Times (msec.)}}                        
  18. \put(-141,75){\makebox(0,0){\shortstack{%                                       
  19. N\\o\\r\\m\\a\\l\\i\\z\\e\\d\\[3ex]L\\i\\f\\e\\t\\i\\m\\e\\s}}}                 
  20. \thinlines                                                                      
  21. \put(-120,150){\makebox(0,0)[tl]{\fbox{\shortstack[l]{                          
  22.  {\makebox(4,2)[lb]{\put(2,1){\plotcharms}}}: Message Switching\\[0.5mm]        
  23.  {\makebox(4,3)[lb]{\put(2,1){\plotcharscs}}}: Staged Circuit Switching\\[0.5mm]
  24.  {\makebox(4,3)[lb]{\put(2,1){\plotcharcs}}}: Circuit Switching\\[0.5mm]        
  25.  {\makebox(2,0)[b]{}}                                                           
  26.  }}}}                                                                           
  27. %                                                                               
  28. \begin{dottedjoin}{2}                                                           
  29. \thicklines                                                                     
  30. \jput(-120.00000,  34.44896){\plotcharms}                                       
  31. \jput( -60.00000,  35.55244){\plotcharms}                                       
  32. \jput( -40.00000,  36.57292){\plotcharms}                                       
  33. \jput( -30.00000,  37.71716){\plotcharms}                                       
  34. \jput( -20.00000,  40.15218){\plotcharms}                                       
  35. \jput( -12.00000,  48.16034){\plotcharms}                                       
  36. \jput(  -8.00000,  67.75840){\plotcharms}                                       
  37. \jput(  -7.60000,  74.27934){\plotcharms}                                       
  38. \jput(  -7.20000,  83.02326){\plotcharms}                                       
  39. \end{dottedjoin}                                                                
  40. %                                                                               
  41. \begin{dashjoin}{2}                                                             
  42. \jput(-120.00000,  15.01202){\plotcharscs}                                      
  43. \jput( -60.00000,  15.95818){\plotcharscs}                                      
  44. \jput( -40.00000,  17.15990){\plotcharscs}                                      
  45. \jput( -30.00000,  18.16152){\plotcharscs}                                      
  46. \jput( -20.00000,  20.32388){\plotcharscs}                                      
  47. \jput( -12.00000,  27.05212){\plotcharscs}                                      
  48. \jput(  -8.00000,  41.58512){\plotcharscs}                                      
  49. \jput(  -7.60000,  45.3435){\plotcharscs}                                       
  50. \jput(  -7.20000,  51.52414){\plotcharscs}                                      
  51. \end{dashjoin}                                                                  
  52. %                                                                               
  53. \begin{drawjoin}                                                                
  54. \jput(-120.00000,  15.17960){\plotcharcs}                                       
  55. \jput( -80.00000,  16.71960){\plotcharcs}                                       
  56. \jput( -60.00000,  18.29430){\plotcharcs}                                       
  57. \jput( -56.00000,  19.81980){\plotcharcs}                                       
  58. \jput( -52.00000,  20.31963){\plotcharcs}                                       
  59. \jput( -48.00000,  50.24912){\plotcharcs}                                       
  60. \jput( -44.00000,  56.96844){\plotcharcs}                                       
  61. \end{drawjoin}                                                                  
  62. \end{picture}                                                                   
  63. \end{center}                                                                    
  64. \caption[]{A real-life example of a graph}                                      
  65. \end{figure}                                                                    
  66. ə